package Data;

import java.util.ArrayList;
import java.util.List;


public class Tracks 
{
	String SystemName;
	String Name;
	private List<Coordinates> MapCoordinatesList = new ArrayList<Coordinates>(); 
	
	
	public Tracks(String SystemN, String Nam){
		SystemName = SystemN;
		Name = Nam;
	}
	
	//gets
	public String getSysytemName(){return SystemName;};
	public String getName(){return Name;};
	public Coordinates GetMapCoordinate(int index){return MapCoordinatesList.get(index);}
	
	
	//sets
	public void setSysytemName(String x){SystemName = x;};
	public void setName(String x){Name= x;};
	public void SetNewCoordinate(Coordinates NewCoordinate){
		MapCoordinatesList.add(new Coordinates(NewCoordinate));
	}
	
}
